package com.androidwwf.jwr;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class ChooseGameActivity extends Activity {
   
	private Button bquiz;
	private Button bRandomPicture;
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.choosegame);        
        init();
    }

	private void init()
	{
		bquiz = (Button) findViewById(R.id.bquiz);
		bquiz.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {
				Intent gamequiz = new Intent("com.androidwwf.jwr.GAMEQUIZ");
				startActivity(gamequiz);
			}
		});
		
		bRandomPicture = (Button) findViewById(R.id.bplaatjes);
		bRandomPicture.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {
				Intent gameRandomPicture = new Intent("com.androidwwf.jwr.GAMERANDOMPICTUREMAINSCREENACTIVITY");
				startActivity(gameRandomPicture);
			}
		});
	}
}
